import { RouteRecordRaw, RouterView } from 'vue-router'

const routes: RouteRecordRaw = {
	path: 'rule_center',
	component: RouterView,
	meta: {
		title: 'AI中心',
	},
	children: [
		{
			path: 'rule_list',
			name: 'rule-list',
			component: () => import('@/views/RuleCenter/index.vue'),
			meta: {
				// 自定义路由元数据
				title: '列表',
			},
		},
	],
}

export default routes
